package com.dly.blog.config;

import com.dly.blog.aop.OpLogAspect;
import com.dly.blog.listener.OpLogEventListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: DaiLiYu
 * @Date: 2023/7/17 22:17
 */
@Configuration
public class LogConfig {

    @Bean
    public OpLogAspect getOpLogAspect(){
        return new OpLogAspect();
    }
}
